package com.fqgj.sentry.api.domain;


import java.io.Serializable;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-08-15 上午10:15
 */
public class RiskApiResult implements Serializable{
    /**
     * 调用结果编码
     */
    private String code;

    /**
     * 结果 描述
     */
    private String msg;
    /**
     * 业务码
     */
    private String flowNo;
    /**
     * 策略集id
     */
    private Long policySetId;

    /**
     * 最总结果
     */
    private ExecutorResult finalResult;

    /**
     * 验证结果
     */
    private ExecutorResult verifyResult;

    public String getCode() {
        return code;
    }

    public RiskApiResult setCode(String code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public RiskApiResult setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public String getFlowNo() {
        return flowNo;
    }

    public RiskApiResult setFlowNo(String flowNo) {
        this.flowNo = flowNo;
        return this;
    }

    public Long getPolicySetId() {
        return policySetId;
    }

    public RiskApiResult setPolicySetId(Long policySetId) {
        this.policySetId = policySetId;
        return this;
    }

    public ExecutorResult getFinalResult() {
        return finalResult;
    }

    public RiskApiResult setFinalResult(ExecutorResult finalResult) {
        this.finalResult = finalResult;
        return this;
    }

    public ExecutorResult getVerifyResult() {
        return verifyResult;
    }

    public RiskApiResult setVerifyResult(ExecutorResult verifyResult) {
        this.verifyResult = verifyResult;
        return this;
    }
}
